package com.itheima.zuoye2.zy3;

import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;

public class Test {
    public static void main(String[] args) {
        HashSet<Double> set = new HashSet<>();
        Collections.addAll(set, 2.2, 5.5, 6.6, 2.2, 8.8, 1.1, 2.2, 8.8, 5.5, 2.2, 6.6);

        System.out.println(set);
    }

    }

